package com.qingcloud.adminbackend.entity.role;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 角色分页查询请求对象
 */
@Getter
@Setter
@ToString
public class RolePageRequest implements Serializable {

    @ApiModelProperty(value = "用户编号", example = "用户编号")
    private String userId;
    @ApiModelProperty(value = "是否管理员", example = "是否管理员")
    private boolean isAdmin=false;
    @ApiModelProperty(value = "是否组织管理员", example = "是否组织管理员")
    private boolean isOrgAdmin=false;
    @ApiModelProperty(value = "角色名称", example = "角色名称")
    private String name;
    @ApiModelProperty(value = "业务种类", example = "1")
    private Integer businessType;
    @ApiModelProperty(value = "当前第几页,从1开始", example = "1")
    private Integer currentPage;
    @ApiModelProperty(value = "每页多少条", example = "10")
    private Integer perPage;

}
